Ext.define("MyFirstApp.store.Servers",{
    extend: 'Ext.data.Store',
    requires: [
        'MyFirstApp.model.Server'
    ],
    config:{
        model:'MyFirstApp.model.Server',
        autoLoad: true,
        storeId: 'serversJsonStore',
        proxy:{
            type:'jsonp',
            url:'http://scesvrstatus.sinaapp.com/status.json',
            reader:{
                type:'json'
            }
        },
        sorters: [
            {
                direction: 'DESC',
                property: 'status'
            }
        ]
    }
});